package club.monkeywood.enums.wechat;

public enum wxMessageEnum {
    MESSAGE_TEXT(1,"text"),  //文本消息
    MESSAGE_IMAGE(2,"image"),  //图片消息
    MESSAGE_VOICE(3,"voice"),  //视频消息
    MESSAGE_MUSIC(4,"music"),  //音乐消息
    MESSAGE_SHOTVIDEO(5,"shortvideo"),  //小视频消息
    MESSAGE_LACATION(6,"location"),  //地理位置消息
    MESSAGE_LINK(7,"link"),  //链接消息
    MESSAGE_EVENT(8,"event"),  //事件消息
    MESSAGE_NEWS(9,"news"),   //图文消息
    EVENT_SUBSCRIBE(10,"subscribe"),  //关注事件
    EVENT_UNSUBSCRIBE(11,"unsubscribe"),  //取消关注事件
    EVENT_CLICK(12,"CLICK"),  //点击click菜单事件
    EVENT_VIEW(13,"VIEW"),  //点击view菜单事件
    EVENT_SCANCODE_PUSH(14,"scancode_push");  //点击扫码菜单事件

    private final int code;
    private final String type;

    wxMessageEnum(int code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getType() {
        return type;
    }
}
